<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>
<script type="text/javascript">
	
	window.onload = function(){
		var ipt = document.getElementsByTagName('input');
		//var a = [ipt[0],ipt[1],ipt[2]];
		//a.push(document.body);
		//[ipt1,ipt2,ipt3];
		//[ipt1,ipt2,ipt3,body]
		//ipt.push(document.body);
	}
</script>
<input><input><input>

</body>
</html>